/*definitions.h*/

#ifndef DEFINITIONS_H
#define DEFINITIONS_H

/*CUSTOMER STATE NAMES*/
#define	JOINTIXLINE 0
#define WAITTIXLINE 1  
#define CHECKNEWTIXLINE 2
#define RECTIXCLERK 3
#define TIXORDERPLACED 4
#define TIXPAYSENT 5
#define ASKSUBSFOOD 6
#define WAITSUBFOOD 7
#define JOINFOODLINE 8
#define WAITFOODLINE 9
#define CHECKNEWFOODLINE 10
#define RECFOODCLERK 11
#define POPCORNORDERPLACED 12
#define DRINKORDERPLACED 13
#define FOODPAYSENT 14
#define JOINENTRYLINE 15
#define WAITENTRYLINE 16
#define CHECKNEWENTRYLINE 17
#define RECTIXTAKER 18
#define GAVETIX 19
#define TELLSUBSGOIN 20
#define LEADGOIN 21
#define WATCHINGMOVIE 22
#define LEADREGROUP 23
#define ASKUSEBR 24
#define FINDOUTBR 25
#define WAITBR 26
#define LEAVECINEPLEX 27
#define GOTOLOBBY 28
#define INLOBBY 29
#define RECSIZEREQUEST 30
#define COMPLETED 31
#define SNEWSUB 32
#define SSENDFOODORDER 33
#define SFOODORDERSENT 34
#define SRECGOIN 35
#define SWAITFORSEAT 36
#define SWATCHINGMOVIE 37
#define SREGROUP 38
#define SLEAVETHEATER 39
#define SASKEDBR 41
#define SUSEBR 42
#define SWAITBR 43
#define SLEAVECINEPLEX 44

/*MANGAGER STATE NAMES*/
#define IDLE 45
#define AVAILABLE 46
#define STARTMOVIE 47
#define DECIDECASHCHECK 48
#define BACKTOCHECK 49
#define BACKTOCASH 50
#define CHECKASKTIXCLERKS 51
#define CHECKWAITTIXCLERKS 52
#define CHECKHANDLETIXCLERKS 53
#define CHECKSENDTIXCLERKS 54
#define CHECKASKFOODCLERKS 55
#define CHECKWAITFOODCLERKS 56
#define CHECKHANDLEFOODCLERKS 57
#define CHECKSENDFOODCLERKS 58
#define CHECKASKTIXTAKERS 59
#define CHECKWAITTIXTAKERS 60
#define CHECKHANDLETIXTAKERS 61
#define CHECKSENDTIXTAKERS 62
#define CASHASKTIXCLERKS 63
#define CASHWAITTIXCLERKS 64
#define CASHASKFOODCLERKS 65
#define CASHWAITFOODCLERKS 66
#define CASHCLEARTIXTAKERS 67

/*LOBBY STATE NAMES*/
#define IDLING 68
#define STARTRELEASING 69
#define ASKCOUNT 70
#define WAITCOUNT 71
#define WAITFORTECH 72

/*MOVIETECH*/
#define WAITINGFORLOBBY 74
#define WAITINGFORTAKERS 75
#define STARTINGMOVIE 76
#define MOVIEOVER 77

/*TICKETCLERK*/
#define TALKINGTOMANAGER 78
#define WAITINGFORCUST 79
#define WAITINGFORPAY 80
#define ONBREAK 81

/*FOODCLERK*/
#define WAITINGFORSODA 84

/*TICKETTAKER*/
#define SENTTOTHEATER 89

/*MESSAGES*/
#define NullMsg -1

#define ComeBuyTix 0
#define PayMeForTix 1
#define HereAreTickets 2
#define IWouldLike 3
#define ComeBuyFood 4
#define AnythingElse 5
#define PayMeForFood 6
#define HereIsYourFood 7
#define GoToTicketTaker 8
#define GoOnIn 9
#define GoToLobby 10
#define MovieIsDone 11
#define HaveRegrouped 12
#define NeedBR 13
#define BackFromBR 14
#define HowManyInYourGroup 15
#define LeaveLobby 16
#define WouldYouLikeFood 17
#define YouAreInSeat 18
#define DoYouNeedBR 19
#define LeaveCineplex 20

#define Okay 21
#define GoOnBreak 22
#define ComeOffBreak 23
#define WhatIsStatus 24
#define GiveMeMoney 25
#define WantPopcorn 26
#define WantSoda 27
#define HereIsFoodMoney 28
#define OrderTix 29
#define HereIsTixMoney 30
#define IsYourLineEmpty 31
#define HereAreTix 32
#define ImGoingIn 33

#define IAmInLobby 34
#define WeAreLegion 35
#define NewMovieStarting 36
#define AreYouIdle 37

#define MovieOver 38
#define NumInLine 39
#define HereIsMoney 40

#define StartMovie 41
#define LineIsEmpty 42
#define LobbyEmpty 43

#endif